﻿<UserControl x:Class="DiscoveryLogic.Analytics.Modules.Entities.OrgListView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="Auto" Width="Auto" VerticalAlignment="Stretch">
    <Border CornerRadius="10,10,0,0" BorderBrush="#3E606F" Background="#D1DBBD" 
			BorderThickness="2" Padding="7">
        <ListView 
            x:Name="lvOrgs" ItemsSource="{Binding}" 
            SelectionChanged="lvOrgs_SelectionChanged"
            VerticalAlignment="Stretch">
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="Org ID"
									DisplayMemberBinding="{Binding ExternalOrgID}"/>
                    <GridViewColumn Header="Org Nname"
									DisplayMemberBinding="{Binding OrgName}"/>
                    <GridViewColumn Header="Dept"
									DisplayMemberBinding="{Binding Department}"/>
                    <GridViewColumn Header="City"
									DisplayMemberBinding="{Binding City}"/>
                    <GridViewColumn Header="Region"
									DisplayMemberBinding="{Binding Region}"/>
                    <GridViewColumn Header="Postal code"
									DisplayMemberBinding="{Binding PostalCode}"/>
                    <GridViewColumn Header="Country"
									DisplayMemberBinding="{Binding Country}"/>
                </GridView>
            </ListView.View>
        </ListView>
    </Border>
</UserControl>
